package com.yb.core.constant;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/18 16:15
 * FileName: RedisKeyConstant
 * Description:
 */
public class RedisKeyConstant {

    /**
     * 登陆成功后保存到redis数据的key,xczx:user:access_token:{username}
     */
    public static final String LOGIN_USER_ACCESS_TOKEN_KEY="xczx:user:access_token:login:%s";


    /**
     * 登陆成功后保存到redis数据的key,xczx:user:detail:{tokenvalue}
     */
    public static final String LOGIN_USER_DETAIL_KEY="xczx:user:detail:%s";



    /**
     * 请求登陆code,xczx:user:logincode:{code}
     */
    public static final String LOGIN_USER_LOGINCODE_KEY="xczx:user:logincode:%s";
}
